//
//  LFBFlashMarketViewController.m
//  LFBLoveFreshBee
//
//  Created by 丁鼎 on 16/8/18.
//  Copyright © 2016年 丁鼎. All rights reserved.
//

#import "LFBFlashMarketViewController.h"
#import "LFBLeftTableView.h"
#import "LFBRightTableView.h"


@interface LFBFlashMarketViewController ()

@end

@implementation LFBFlashMarketViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor greenColor];
    //左边tableView
    LFBLeftTableView * lefeVC = [[LFBLeftTableView alloc] init];
    lefeVC.view.frame = CGRectMake(0, 0, 150, KScreenHeight);
    
    [self addChildViewController:lefeVC];
    [self.view addSubview:lefeVC.view];
    //右边tableView
    LFBRightTableView * rightVC = [[LFBRightTableView alloc] init];
    rightVC.view.frame = CGRectMake(lefeVC.view.bounds.size.width, 64, KScreenWidth - lefeVC.view.bounds.size.width, KScreenHeight);
    
    [self addChildViewController:rightVC];
    [self.view addSubview:rightVC.view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
